ReactiveRecyclerViewViewHolder class¶
Attributes: [RequiresUnreferencedCode("Android property discovery uses reflection over generated resource types that may be trimmed.")] [RequiresDynamicCode("Android property discovery discovery uses reflection that may require dynamic code generation.")]
Defined in
Namespace: ReactiveUI.AndroidX
Assembly: ReactiveUI.AndroidX.dll
Full name: ReactiveUI.AndroidX.ReactiveRecyclerViewViewHolder<T>
Modifiers: public
Summary¶
A ViewHolder implementation that binds to a reactive view model.
Applies to
net10.0-android36.0
Class hierarchy
classDiagram
class ReactiveRecyclerViewViewHolder~T~
class ViewHolder
ViewHolder <|-- ReactiveRecyclerViewViewHolder~T~
class ILayoutViewHost {
<>
}
ILayoutViewHost <|.. ReactiveRecyclerViewViewHolder~T~
class IViewFor~TViewModel~ {
<>
}
IViewFor~TViewModel~ <|.. ReactiveRecyclerViewViewHolder~T~
class IViewFor {
<>
}
IViewFor <|.. ReactiveRecyclerViewViewHolder~T~
class IActivatableView {
<>
}
IActivatableView <|.. ReactiveRecyclerViewViewHolder~T~
class IReactiveNotifyPropertyChanged~ReactiveRecyclerViewViewHolder~TViewModel~~ {
<>
}
IReactiveNotifyPropertyChanged~ReactiveRecyclerViewViewHolder~TViewModel~~ <|.. ReactiveRecyclerViewViewHolder~T~
class IReactiveObject {
<>
}
IReactiveObject <|.. ReactiveRecyclerViewViewHolder~T~
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. ReactiveRecyclerViewViewHolder~T~
class INotifyPropertyChanging {
<>
}
INotifyPropertyChanging <|.. ReactiveRecyclerViewViewHolder~T~
class IEnableLogger {
<>
}
IEnableLogger <|.. ReactiveRecyclerViewViewHolder~T~
class ICanActivate {
<>
}
ICanActivate <|.. ReactiveRecyclerViewViewHolder~T~
Inherits from: ViewHolder
Implements: ILayoutViewHost, IViewFor
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactiveRecyclerViewViewHolder](# class. |
Properties¶
| Name | Summary |
|---|---|
| Selected | Gets an observable that signals that this ViewHolder has been selected. |
| SelectedWithViewModel | Gets an observable that signals that this ViewHolder has been selected. |
| LongClicked | Gets an observable that signals that this ViewHolder has been long-clicked. |
| LongClickedWithViewModel | Gets an observable that signals that this ViewHolder has been long-clicked. |
| Activated | Gets a observable which is triggered when the ViewModel is activated. |
| Deactivated | Gets a observable which is triggered when the ViewModel is deactivated. |
| View | Gets the current view being shown. |
| ViewModel | Gets or sets the strongly typed view model. Override this property to integrate with the platform's binding system. |
| ThrownExceptions | Gets an observable which signals when exceptions are thrown. |
| Changing | Gets an observable that fires before a property is about to be changed. Note that this should not fire duplicate change notifications if a property is set to the same... |
| Changed | Gets an Observable that fires after a property has changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple... |
Fields¶
| Name | Summary |
|---|---|
| AllPublicProperties | Gets all public accessible properties. |
Methods¶
| Name | Summary |
|---|---|
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| AreChangeNotificationsEnabled | Gets if change notifications via the INotifyPropertyChanged interface are being sent. |
| Dispose |
Events¶
| Name | Summary |
|---|---|
| PropertyChanging | |
| PropertyChanged |